using AutoMapper;
using Blog.Repository;
using Blog.Service.View;
using Blog.Service.View.Output;

namespace Blog.Service;


/// <summary>
/// 映射配置
/// </summary>
public class AdViewMapperConfig : Profile
{
    public AdViewMapperConfig()
    {
        CreateMap<ViewModel, ViewEntity>();
        CreateMap<ViewEntity, ViewModel>();

        CreateMap<ViewEntity, ViewListOutput>();

        
    }
}